package socket;

import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.net.Socket;
// [V] This new class saves parameters of socket which sent message
public class Connection {
	
	public Socket connection;
	public ObjectOutputStream out;
	public ObjectInputStream in;
	public boolean busy;

	public Connection(Socket connection, ObjectOutputStream out, ObjectInputStream in) {
		this.connection = connection;
		this.in = in;
		this.out = out;
		this.busy = true;
	}
	
}
